import React from 'react'
// 引入图片 css样式
import Banner from '../../static/img/LoginReg/banner.png'
import Logo from '../../static/img/logo.png';
import './index.css'
// 引入模块
import { Outlet,useNavigate} from 'react-router-dom';
export default function LoginReg() {
    let navigate = useNavigate()
    function gohome(){
        navigate('/')
    }
    return (
        <div>

            <div className='log-log'>
                <img onClick={gohome} src={Logo} style={{ height: '67px', width: '20%' }} alt="" />
                <p>会员登陆</p>
            </div>
            <div className='log-banner'>
                <img src={Banner} alt="" />
                <div className='log-box'>
                    <Outlet />
                </div>
            </div>

        </div>
    )
}
